﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/admin/css/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.8.0.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.23.custom.min.js")" type="text/javascript"></script>
     <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script  src="@Url.Content("~/Scripts/tiny_mce/tiny_mce.js")" type="text/javascript"></script>
    <script  src="@Url.Content("~/Scripts/admin/initAdmin.js")" type="text/javascript"></script>
    <script  src="@Url.Content("~/Scripts/superfish/hoverIntent.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/superfish/superfish.js")" type="text/javascript" ></script>
    <link href="@Url.Content("~/Content/admin/superfish/css/superfish.css?ver=1")"    rel="stylesheet" type="text/css"  media="screen">
    <meta name="keywords" content="@ViewBag.Keys">
    <meta name="description" content="@ViewBag.Description">
</head>
<body>
<span id="go-footer" class="go"><a href="#footer">Вниз&#8595</a></span>
    <div class="page">
        <header id="header">
            <div id="title">
                <h1>Администрирование</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            
       @*     <ul >
            <li>
            @Html.ActionLink("Страницы", "Index", "Page", null, null)
            </li>
            </ul>*@
           
            
            @{ Html.RenderAction("Show", "Menu", new { code = "admin-menu", area = "" });}
            
        </header>
        <section id="main">
            @RenderBody()
        </section>
        <footer id="footer">
        <script type="text/javascript">
            $(document).ready(function () {
                $('ul.sf-menu').superfish();
                $('.generate-code-button').live("click", function () {
                    generateCode({
                        generateCodeUrl: '@Url.Action("GenerateCode", "Help")'
                    });
                return false;
                });
            $("input[name *= 'Title']").focusout(function (e) {
                generateCode({
                    generateCodeUrl: '@Url.Action("GenerateCode", "Help")'
                });
            });
        }); 
        </script>
        </footer>
    </div>
    <span id="go-header" class="go"><a href="#header">Вверх&#8593</a></span>
</body>
</html>
